home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-03-01 | 944 b | 36 lines |
- #
- # This is the make file for the poly3d directory using DJGCC on the IBMPC.
- #
- # Gershon Elber, Dec 1991
- #
-
- !include "..\makeflag.djg"
-
- OBJS = interact.o poly3d.o postscrp.o
-
- # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
- # choke on them (the { } signals batch mode that combines few operation at the
- # same time - very nice feature!).
- .c.o:
- $(CC) $(CFLAGS) -I. -I$(INC_DIR) -c -DSUPPORT_GIF_SAVE $<
-
- .cc.o:
- $(CC) $(CFLAGS) -I. -I$(INC_DIR) -c -DSUPPORT_GIF_SAVE $<
-
- poly3d.exe: $(OBJS)
- $(CC) $(CFLAGS) -o poly3d @&&!
- $(OBJS) $(LIBS) $(MORELIBS) -lm
- !
- strip poly3d
- aout2exe poly3d
-
- install: poly3d.exe
- copy poly3d.exe $(BIN_DIR_DOS)
- del poly3d.exe
- copy poly3ddj.cfg $(BIN_DIR_DOS)\poly3d.cfg
-
- # Dependencies starts here - do not touch, generated automatically.
- interact.o: program.h interact.h
- poly3d.o: program.h interact.h matherr.h
- postscrp.o: program.h interact.h
-